<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateGoodInputsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('good_inputs', function (Blueprint $table) {
            $table->increments('id');
            $table->string('goodName');
            $table->string('colorName');
            $table->string('sizeName');
            $table->integer('number');
            $table->float('price');
            $table->string('provider');
            $table->integer('numberAfter');
            $table->integer('onStackNumberAfter');
            $table->string('storeId');
            $table->string('operatorId');
            $table->text('description')->nullable();
            $table->integer('recordId');
            $table->string('date');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('good_inputs');
    }
}
